package studentProject;

public class Person {
	
	private String Fname;
	private String Lname;
	private String SSN;
	public boolean equals(Object person){
		if(person.getClass() == Person.class){
			Person temp = (Person) person;
			if(temp.SSN == this.SSN){
				return true;
			}
			else{
				return false;
			}
		}
		else{
		return false;
		}
	}
	
	
	public void setFname(String fn) { this.Fname = fn; }
	public void setLname(String ln) { this.Lname = ln; }
	public void setSSN(String ssn) {this.SSN = ssn;}
	
	
	
	public String getFname() { return this.Fname; 
	}
	public String getLname() { return this.Lname;}
	public String getSSN() { return this.SSN;}
	

}
